﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using EDTS.Model.Weixin;
using EDTS.Data.Weixin;
namespace EDTS.Logic.Weixin
{
    public class WxAppLogic
    {
        public static WxAppModel GetModel(Guid guid)
        {
            return WxAppCommand.GetModel(guid);
        }

        public static string GetAccessToken(Guid guid)
        {
            return WxAppCommand.UpdateAccessToken(guid);
        }
        public static string GetAccessToken(int id)
        {
            return WxAppCommand.UpdateAccessToken(id);
        }
    }
}
